package stu.officedrunker.applications.portfolio.dao.impl;

import java.util.ArrayList;
import java.util.List;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import stu.officedrunker.applications.lucky.vo.LuckyRequestVO;
import stu.officedrunker.applications.portfolio.dao.PortfolioDAO;

import com.rntsappstore.base.util.date.TimeConvert;

@Repository("PortfolioDAO")
public class PortfolioDAOImpl extends SqlSessionDaoSupport implements PortfolioDAO {
	
	private Logger log = LoggerFactory.getLogger(this.getClass());
	
	@Override
	public void setPortfolio(LuckyRequestVO luckyVO) {
		log.debug("Portfolio DAO Impl !!");
		luckyVO.setUserId("test");
		luckyVO.setUserNm("gogo");
		getSqlSession().insert("portfolio.setPortfolio", luckyVO);
	}
	
}